﻿@model RestaurantClassLibrary.Reservation

@{
    ViewBag.Title = "Reservation Details";
}

<h2>@ViewBag.Message</h2>

<fieldset>
    <legend>Details</legend>
    <br /><br />

    <div class="display-label">
        <strong>
         @Html.DisplayNameFor(model => model.Date)
        </strong>
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Date)
    </div>
    <br />
    <div class="display-label">
        <strong>
         @Html.DisplayNameFor(model => model.Seats)
        </strong>
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Seats)
    </div>
    <br />
    <div class="display-label">
        <strong>
            Contact Name
        </strong>
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>
    <br />
    <div class="display-label">
        <strong>
            Contact Number
        </strong>
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PhoneNumber)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Make Changes", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Cancel Reservation", "Delete", new { id=Model.ID })
</p>
